package com.hunan.api.catv.service.impl.account;

import com.hunan.api.catv.dao.BaseDao;
import com.hunan.api.catv.dao.account.MemberAssetsMapper;
import com.hunan.api.catv.entity.po.MemberAssets;
import com.hunan.api.catv.entity.vo.MemberAssetsVo;
import com.hunan.api.catv.service.impl.CommonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: wangchao
 * @Date: 2020/10/22 11:28
 */
@Service
public class AccountService extends CommonService<MemberAssets, MemberAssetsVo, Integer> {

    @Autowired
    MemberAssetsMapper memberAssetsMapper;

    @Override
    public BaseDao<MemberAssets, MemberAssetsVo, Integer> getBaseDao() {
        return memberAssetsMapper;
    }

    public List<MemberAssetsVo> getMemberAssetsList(MemberAssetsVo memberAssetsVo) {
        return memberAssetsMapper.getMemberAssetsList(memberAssetsVo);
    }

}
